package com.estun.backroundManagementService.modules.product.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.estun.backroundManagementService.modules.product.mapper.ProductPassStationMapper;
import com.estun.backroundManagementService.modules.product.model.ProductPassStation;
import com.estun.backroundManagementService.modules.product.service.ProductPassStationService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductPassStationServiceImpl extends ServiceImpl<ProductPassStationMapper, ProductPassStation> implements ProductPassStationService {
    // 可以添加自定义的服务方法
    public List<ProductPassStation> getListToBePushed() {
        return list(new QueryWrapper<ProductPassStation>()
                .ne("pass_submit_status", 1)
                .ne("pass_diff_second", 0)
                .ne("type", 3)
        );
    }
}
